package cn.qianyan.service;


import cn.qianyan.beans.UserRight;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MenuManaService {

    public List<UserRight> showAll();//查询所有的角色权限

    public int updateMenu(UserRight userRight);//修改用户的权限

    public UserRight selectSingle(int role);//查询单个用户权限
}
